
import beginBtnSrc from 'common/asset/img/loading/beginBtn.png';
// import ruleSrc from 'common/asset/img/loading/rule.png';
import ruleBgSrc from 'common/asset/img/loading/ruleBg.png';
import ruleCloseSrc from 'common/asset/img/loading/ruleClose.png';

const { width, height } = window.CFG.view;
const scale = width / 750;
const scaleY = height / 1334;
const loadingText = {
  fadeOutText: {
    type: 'fadeOut',
    direction: '',
    top: 500,
    lineHeight: 32,
    fontSize: 32,
    color: 0xfefefe,
    // textDirection: 'reverse', // 文字反向
    playDirection: '', // 播放反向
    list: [
      '自从被诅咒见到太阳会化作泡沫，',
      '只能天天躲在海螺房内，好难受....',
      '不行，得想想办法....',
      '赶紧在房间内找找破解诅咒的线索吧！',
    ],
    timeout: 150, // ms
    lineTimeout: 400,
  },
  progress: {
    radius: 113,
    // top: 1100,
    // width: 400,
    background: 0x323232,
    innerColor: 0xb0d86a,
    showPercent: true,
    color: 0xb0d86a,
    fontSize: 20,
    // margin: 15,
  },
  beginGame: {
    top: 580,
    beginBtn: {
      src: beginBtnSrc,
      type: 'normal',
      top: 0,
      height: 68,
      width: 254,
    },
    notice: {
      type: 'normal',
      top: 268,
      fontSize: 24,
      lineHeight: 32,
      color: 0xdfdfdf,
      direction: 'horizontal',
      text: '游戏规则'
    },
  },
  ruleModal: {
    bgSrc: ruleBgSrc,
    // src: ruleSrc,
    closeSrc: ruleCloseSrc,
    closeSize: {
      width: 79,
      height: 75,
      top: 0,
      left: 650,
    }
  },

};

export default loadingText;
